home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
dev
/
gg
/
gengetopt-2.6.lha
/
gengetopt-2.6
/
TODO
< prev
next >
Wrap
Text File
|
2001-05-06
|
2KB
|
60 lines
This file is licensed to you under the license specified in the included file
`COPYING'. Look there for further details.
SPECIFIC TASKS:
* Implement defaultvalue column in `sample' file.
* Implement argument name. Instead using `-i INT', one could specify that
`-i lines' will be printed when using `--help' (`-h').
* Reimplement `ARG_SHORT', `ARG_FLOAT', `ARG_LONGDOUBLE' and `ARG_LONGLONG'
cases in `generate_main' function in `gm.c' in `GENERATE' section.
Current implementation truncate values! (THIS IS IMPORTANT).
* Implement overflows and underflows checks in `generate_main' function in
`gm.c' file, in `GENERATE' section.
* Implement `unsignedint', `unsignedshort', `insignedlong' and
`unsingedlonglong' as argument types. You should work in `generate_main'
function and `sample', `argsdef.h' and `scanner.lex' files.
GENERAL TASKS:
* Implement `enumerated' argument type.
* Implement `optional' argument.
* Implement `description' sentence in `sample'.
* Reorder option listing in `--help' (`-h') option. Should be: first short
then long options, listed both by alphabetic order. Short options should be
listed in the format: `-i INT'.
* Currently, each sentence in input end in the end of line. Implement each
sentence end in ';', allowing multiline sentences.
FUTURE TASKS:
* Implement `multiple' options. This means: `./myprog --file=file1 --file=file2'
should work if `file' is an `multiple' option.
* May be make a library (!).
The current maintainer is taking patches. See the file `AUTHORS'.
--------
LORENZO
--------
if configure doesn't find getopt, it should say to the programmer
that we provide getopt.c getopt1.c and getopt.h, which will be installed
in $(prefix)/share/gengetopt
strdup can be handled with autoconf
write texinfo documentation